<template>
    <div class="pl-20px">
        <div class="pb-12px flex items-center">
            选择版本
            <el-select v-model="content" class="w-[120px] mx-12px"  placeholder="请选择">
                <!-- <el-option v-for="item in charSetSelectOption" :key="item.value" :label="item.label"
                        :value="item.value" /> -->
            </el-select>
            <el-button type="primary" :loading="loading" @click="saveHandle()">切换</el-button>
        </div>
    </div>
</template>
<script setup lang='ts'>
import { ref } from 'vue'
import { ElMessage } from 'element-plus'


// 提交按钮loading
const loading = ref(false)
const content = ref('')

//提交
const saveHandle = async () => {
    loading.value = true;
    // AjaxAPI({
    //     ...data,
    // }).then(() => {
    //     ElMessage.success("添加成功")
    // }).finally(() => {
    //     loading.value = false;
    // })
}
</script>